import {
	query,
	post,
	remove
} from "./request"
//获取用户会话列表
export function getChatList(data) {
	return query('/message/chatList',data)
}
//获取会话消息列表
export function getMsgList(data) {
	return query('/message/messageList',data)
}

//发送消息
export function getSend(data) {
	return post('/message/send',data)
}
//
export function getMsgUser(data) {
	return query('/message/messageListForUsers',data)
}

//统计未读消息数量
export function getUnreadNum() {
	return query('/message/unreadNum')
}


